home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.amiga.hardware
- Path: news.sprintlink.net!eskimo!warlock
- From: warlock@eskimo.com (Jim Richardson)
- Subject: Re: MultiTasking
- X-Nntp-Posting-Host: eskimo.com
- Message-ID: <Dn7GtD.FnA@eskimo.com>
- Sender: news@eskimo.com (News User Id)
- Organization: Eskimo North (206) For-Ever
- X-Newsreader: NN version 6.5.0 CURRENT BETA (06/24/1995) #4
- References: <4ge1op$265@cdn_news.telecom.com.au>
- Date: Fri, 23 Feb 1996 01:44:00 GMT
-
- gkalouts@qitgsdv1.telecom.com.au (Gregory Peter Kaloutsis) writes:
-
- >Would some one be kind enough to post a article on the differnce
- >between Co-Operative & Pre-Emptive multitasking?
-
- Co-operative (Macintosh OS)
- Programs tell the OS when they are ready to give up resources
-
- Pre-emptive (Amiga, UN!X) OS controls who gets what, even if someone is
- being piggy. Often by a priority system, rather than simply scrolling
- down a list of who's nect.
- The major advantage of Pre-emptive (IMNSHO) is that the particular
- application doesn't have to be specifically written with multitasking
- code in it. ie, when to stop and hand over resources to cpu. Under
- co-operative multitasking, if one app (say, formatting a disk) hangs,
- then the machine hangs since the app hasn't handed control back to the
- OS. Unless the programmer took steps to ensure that the app handed
- control back in case of error.
-
- Jim Richardson
- Anarchist. pagan and proud of it.
- http://www.eskimo.com/~warlock
- pgp key at website
-